<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="index.css">
</head>

<body>
    <div id="box">
        <div class="head">
            <input type="text" placeholder="请输入你的任务目标，按回车键生成!" @keyup.enter="addItem" />
        </div>
        <div class="section">
            <div>
                <label for="">
                    <div class="section-item">
                        <div class="section-left">
                            <input type="checkbox" checked="false" />
                            <span>抽烟</span>
                            <!-- <input type="text" /> -->
                        </div>
                        <div class="section-right">
                            <button class="btn-delete">删除</button>
                            <button class="btn-edit">编辑</button>
                        </div>
                    </div>
                    <div class="section-item">
                        <div class="section-left">
                            <input type="checkbox" checked="false" />
                            <span>喝酒</span>
                            <!-- <input type="text" /> -->
                        </div>
                        <div class="section-right">
                            <button class="btn-delete">删除</button>
                            <button class="btn-edit">编辑</button>
                        </div>
                    </div>
                    <div class="section-item">
                        <div class="section-left">
                            <input type="checkbox" checked="false" />
                            <span>吃肥肉</span>
                            <!-- <input type="text" /> -->
                        </div>
                        <div class="section-right">
                            <button class="btn-delete">删除</button>
                            <button class="btn-edit">编辑</button>
                        </div>
                    </div>
                </label>
            </div>
        </div>
        <div class="floor" v-show="All">
            <div class="floor-box">
                <div class="floor-left">
                    <label for="">
                        <input type="checkbox"><span>已完成  / 全部 </span>
                    </label>
                </div>
                <div class="floor-right clear-float">
                    <button>清除已完成任务</button>
                </div>
            </div>
        </div>
    </div>
</body>

</html>